class Pcolor < ActiveRecord::Base
  belongs_to :product

  file_column :image_url, :magick => {:versions => { "thumb" => "40X40",
      "medium" => "130X130","larger"=>"420X420","origin"=>"1024X1024"}}
  file_column :image_url1, :magick => {:versions => { "thumb" => "40X40",
      "medium" => "130X130","larger"=>"420X420","origin"=>"1024X1024"}}
  file_column :image_url2, :magick => {:versions => { "thumb" => "40X40",
      "medium" => "130X130","larger"=>"420X420","origin"=>"1024X1024"}}
  file_column :image_url3, :magick =>{:versions => { "thumb" => "40X40",
      "medium" => "130X130","larger"=>"420X420","origin"=>"1024X1024"}}
end
